﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="ProjectSem3.WebForm11" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
    .showwll
{
    width: 95%;
    margin-top: 10px;
    margin:0 auto;
    margin-bottom: 10px;
    box-shadow: 0px 2px 5px #ccc;
    text-align:left;
    color:Black;
    padding:10px;
    background-color:#f5f5f5;

}
        .showw3ff {
    width: 99%;
    margin: 0px auto 5px;
    box-shadow: 0px 2px 5px rgb(204, 204, 204);
    text-align: left;
    color: Black;
    padding: 5px;
    background-color:#EE7600;
}
        .showwkk {
    width: 100%;
    box-shadow: 0px 2px 5px #ee7600;
    text-align: left;
    background-color: black;
    color: white;
    padding: 10px;
}
        .title
        {
            font-size: 22px;
            width: 1017px;
                  font-family: Agency FB;
        }
        .description
        {
            font-size: 15px;
            float:left;
            
        }
        .pubDate
        {
            font-size: 15px;
        }
        .encoded
        {
        color:White;
        float: left;
            }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class=" details">
        <div class="show_title">
            <asp:HyperLink ID="HyperLink2" runat="server" Font-Size="20px" ForeColor="White"
                ViewStateMode="Inherit" NavigateUrl="#" Font-Strikeout="False" Font-Underline="false">News</asp:HyperLink>
        </div>
        <div class="showwll">
            <asp:Repeater ID="rptRSS" runat="server">
                <ItemTemplate>
                    <div class="showwkk">
                       
                        <div class="title">
                            <div class="showw3ff">
                                <asp:HyperLink runat="server" ForeColor="Yellow" ID="title" Text='<%# Eval("title") %>' NavigateUrl='<%# Eval("link") %>'> </asp:HyperLink>
                           <br />
                            </div>
                        </div>
                        <br />
                        <div class="encoded">

                            <asp:Label runat="server" Font-Size="15px" ID="encoded" Text='<%# Eval("encoded") %>'><br /></asp:Label></div>
                            <br />
                        <div class="dc:date">
                        <p style="color:#ee7600;font-size:15px;">I Mobile creator :<%# Eval("creator")%><br />I Mobile subject :<%# Eval("subject")%><br />I Mobile Update :<%# Eval("date")%></p>
                         
                            
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>


  


            <div class="show">
            <div class="show_title">
                <asp:HyperLink ID="HyperLink3" runat="server" Font-Size="20px" ForeColor="White"
                    ViewStateMode="Inherit" NavigateUrl="#" Font-Strikeout="False" Font-Underline="false">New Mobile</asp:HyperLink>
            </div>
            <div class="show_contentTrangorder">
                <div id="amazingcarousel-container-1">
                        <div id="amazingcarousel-1" style="display: block; position: relative; width: 100%;
                            max-width: 720px; margin: 0px auto 0px;">
                            <div class="amazingcarousel-list-container" style="overflow: hidden;">
                                <ul class="amazingcarousel-list">
                                    <asp:Repeater ID="Repeater_Product" runat="server" OnItemDataBound="Repeater_Product_ItemDataBound">
                                        <ItemTemplate>
                                            <li class="amazingcarousel-item">
                                        <asp:HiddenField runat="server" ID="productID" Value='<%# Eval("ProductID") %>' />
                                        <div class="amazingcarousel-item-container">
                                            <div class="amazingcarousel-image">
                                                <a href='Detail.aspx?id=<%# Eval("ProductID") %>'>
                                                    <asp:Image ID="image" runat="server" />
                                            </div>
                                            <div class="amazingcarousel-title">
                                                <h3><%# Eval("Name") %></h3>
                                                <h3><cite class="price"><%# Eval("Price")%>₫</cite></h3>
                                            </div>
                                            <div class="amazingcarousel-description">
                                            </div>
                                        </div>
                                    </li>
                                        </ItemTemplate>
                                    </asp:Repeater>                                    
                                </ul>
                            </div>
                            <div class="amazingcarousel-prev">
                            </div>
                            <div class="amazingcarousel-next">
                            </div>
                        </div>
                    </div>
            </div>
        </div>
        <div style="clear: both;margin-bottom:100px;">
        </div>
    </div>
</asp:Content>
